<template>
  <div class="shouYe routeFather">
    shouYe
    <xhyk-button type="p" @click="testFn">修改用户信息</xhyk-button>
    <xhyk-icon type="xhAll-dingdan1"/>
  </div>
</template>

<script setup>
defineOptions({name: "shouYe"})

const testFn = () => {
  window.$piniaTheme.dropdownItem = [
    {
      icon: 'SwitchButton', title: '我的详情', click: () => {
        console.log('我的详情')
      }
    },
    {
      icon: 'SwitchButton', title: '退出', click: () => {

      }
    },
  ]
  window.$piniaTheme.dropdown = {
    title: '标题',
    icon: 'xhAll-xiajiantou',
    width: '80px'
  }
}

onMounted(() => {
  console.log(window.$xhykTools.getMid())
})
</script>

<style scoped lang='scss'>
.shouYe {
  background-color: pink;
}

</style>